import axios from './axios'

export function insert (menu) {
  return axios({
    url: '/insert',
    method: 'post',
    data: {
      foodname: menu.foodname,
      price: menu.price,
      foodtype: menu.foodtype
    }
  })

}
